package com.beans;

public class question {

    private int questionId;
    private String questionName;
    private String questionContent;
    private String sampleInput;
    private String sampleOutput;
    private String testCaseInput;
    private String testCaseOutput;

    // 生成Getter和Setter方法
    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getSampleInput() {
        return sampleInput;
    }

    public void setSampleInput(String sampleInput) {
        this.sampleInput = sampleInput;
    }

    public String getSampleOutput() {
        return sampleOutput;
    }

    public void setSampleOutput(String sampleOutput) {
        this.sampleOutput = sampleOutput;
    }

    public String getTestCaseInput() {
        return testCaseInput;
    }

    public void setTestCaseInput(String testCaseInput) {
        this.testCaseInput = testCaseInput;
    }

    public String getTestCaseOutput() {
        return testCaseOutput;
    }

    public void setTestCaseOutput(String testCaseOutput) {
        this.testCaseOutput = testCaseOutput;
    }

    // 可以根据需要生成合适的构造函数，这里提供一个无参构造函数和一个全参构造函数示例

    public question() {
    }

    public question(int questionId, String questionName, String questionContent, String sampleInput, String sampleOutput, String testCaseInput, String testCaseOutput) {
        this.questionId = questionId;
        this.questionName = questionName;
        this.questionContent = questionContent;
        this.sampleInput = sampleInput;
        this.sampleOutput = sampleOutput;
        this.testCaseInput = testCaseInput;
        this.testCaseOutput = testCaseOutput;
    }
}